package abc.hd.com.task;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class taks {
    @Pointcut("execution(* abc.hd.com.sersiona.aer.*(..))")
    private void aaz(){}

    @Before (value="aaz()")
    public  void mybefore(JoinPoint a){
        System.out.println ("这就是前置增强");
    }

}
